/*
 * Description: 表单弹窗
 * Author: wangyifei
 * DateCreated: 2024-10-08 10:46
 */

import Modal from './src/FormModal';
import StepFormModal from './src/StepFormModal';
import { useFormModal } from './src/utils';

type ComType = typeof Modal & {
	useFormModal: typeof useFormModal;
	StepsForm: typeof StepFormModal;
};
const FormModal = Modal as ComType;
FormModal.useFormModal = useFormModal;
FormModal.StepsForm = StepFormModal;

export type {
	FormModalProps as JPFormModalProps,
	FormItemsType,
	FormModalInstance,
	StepFormModalProps
} from './type';
export default FormModal;
